package com.school.gift.mapper;

import com.school.gift.model.OrderModel;
import tk.mybatis.mapper.common.Mapper;
import com.school.gift.domain.Order;
import zhibi.common.support.mybatis.example.Example;

import java.util.List;

/**
* Created by 执笔 on generate.
*/
public interface OrderMapper extends Mapper<Order>{

    List<OrderModel> selectModel(Example example);

    OrderModel selectModelById(Long id);

    Double selectSumByDate(String date);
}
